import Vue from "vue";
import VueRouter from "vue-router";
import index from "@/views/exchangeAndRedemption/index.vue";
import addAndEdit from "@/views/exchangeAndRedemption/addAndEdit.vue";
import balanceDeficiencyCom from "@/views/balanceDeficiencyCom/index.vue";

Vue.use(VueRouter);

const routes = [
  {
    path: "/",
    name: "home",
    component: index,
  },
  {
    path: "/addAndEdit",
    name: "addAndEdit",
    component: addAndEdit,
  },
	{
    path: "/balanceDeficiency",
    name: "addAndEdit",
    component: balanceDeficiencyCom,
  },
];

const router = new VueRouter({
  routes,
});

export default router;
